<%
System.out.println("juan");
response.setStatus(301);
response.setHeader( "Location", request.getAttribute("url").toString() );
response.setHeader( "Connection", "close" );
%>